// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
.sidebar-container {
  .el-menu-item, .el-submenu__title {
    height: 2.4rem;
    line-height: 2.2rem;
    border-radius: 4px;
    padding: 0 8px;
    /*  background-color: rgba(0, 4, 84, 0.9) !important;*/
    /*box-shadow: 0 0 4px rgba(0, 153, 204, .7) inset !important;*/
    &:hover, &.is-active {
      background-color: rgba(0, 30, 94, 0) !important;
      /*box-shadow: 0 0 8px rgba(0, 153, 204, .9) inset !important;*/
    }
  }
}
.el-menu{
  border-right: none;
}
.el-submenu__icon-arrow {
  right: 8px;
}

.el-submenu.is-active {
  border-radius: 4px;
  background-color: rgba(0, 30, 94, 0.9) !important;
  box-shadow: 0 0 8px rgba(0, 153, 204, .9) inset !important;
}

#scrollbarWrapper{
  .el-menu--horizontal.el-menu{
    display: flex;
    &>.menu-wrapper{
      width: calc(20.2% + .5rem);
      /*padding: 0 .8rem;*/
      margin-right: -0.5rem;
      position: relative;
      text-align: center;
      &:after{
        content: '';
        position: absolute;
        right: -.6rem;
        top: 0;
        display: block;
        width: 1.2rem;
        height: 99%;
        z-index: 99;
      }

      .el-menu-item{
        background: url("../assets/img/nav-item.png") no-repeat center;
        background-position:  50% 0;
        background-size: 300% 200%;
        &.is-active,&:hover{
          background: url("../assets/img/nav-item.png") no-repeat center;
          background-position:  50% 100%;
          background-size: 300% 200%;
        }
      }

      &:first-child{
        width: 19.5%;
        .el-menu-item{
          background: url("../assets/img/nav-item.png") no-repeat center;
          background-position:  0 0;
          background-size: 300% 200%;
          padding: 0 .8rem 0 0;
          &.is-active,&:hover{
            background: url("../assets/img/nav-item.png") no-repeat center;
            background-position:  0 100%;
            background-size: 300% 200%;
          }
        }
      }
      &:last-child{
        width: 19.5%;
        .el-menu-item{
          background: url("../assets/img/nav-item.png") no-repeat center;
          background-position:  100% 0;
          background-size: 300% 200%;
          padding: 0 0 0 .8rem;
          &.is-active,&:hover{
            background: url("../assets/img/nav-item.png") no-repeat center;
            background-position:  100% 100%;
            background-size: 300% 200%;
          }
        }
        &:after{
          content: none;
        }
      }
    }
  }

}
.el-tooltip__popper{
  opacity: .75;
}
.el-collapse{
 border:none;
  background: transparent;
  .el-collapse-item__header{
    background: rgba(16,63,122,.5);
    text-align: center;
    padding-left: 30px;
    color: #fff;
    height: 34px;
    border-bottom: none;
  }
  .el-collapse-item__wrap{
    background: rgba(0,0,0,.1);
    color: #fff;
    border-bottom: none;
  }
}

//内置滚动条
.el-scrollbar{
  height: 100%;
  overflow-x:hidden;
  box-sizing: border-box;
}
.el-scrollbar__wrap{
  overflow-x:hidden!important;
}
.el-scrollbar__bar.is-horizontal{
  display: none!important;
}
.echarts-row .el-col{
  height: 100%;
}
.el-menu.el-menu--horizontal{
  border-bottom: none;
}


.el-popper {
  border: 1px solid rgba(0, 43, 143, 0.6);
  .el-cascader-menu {
    background: transparent;
    border: 1px solid rgba(0, 7, 143, 0.6);
  }
  background: rgba(0, 4, 84, 0.95);
  &[x-placement^=bottom] .popper__arrow {
    border-bottom-color: rgba(0, 4, 84, 0.9);
    &::after {
      border-bottom-color: rgba(0, 7, 143, 0.6);
    }
  }
  .el-dropdown-menu__item--divided:before {
    content: none;
  }

}

.el-dropdown-menu {
  padding: 3px 0;
  color: rgba(255, 255, 255, .9);
}

.el-cascader-menu__item {
  color: rgba(255, 255, 255, .9);
  &:focus:not(:active), &:hover {
    background-color: rgba(0, 4, 98, 0.9);
  }
}

.el-dropdown-menu__item {
  color: rgba(255, 255, 255, .9);
  &:not(.is-disabled):hover {
    background-color: rgba(0, 7, 143, 0.6);
  }
}
.el-submenu__title{
  position: relative;
  svg{
    position: absolute;
    top: 19px;
    left: 19px;
    width: 18px!important;height: 18px!important;
  }
  span{
    margin-left: 2rem;
  }
}

.el-menu--popup{
  background-color: rgba(11, 87, 144,.95) !important;
  border: 1px solid rgba(255,255,255,.1);
  padding: 0;
}
.el-submenu__title:hover, .el-menu-item:focus, .el-menu-item:hover,.el-menu-item:focus, .el-menu-item:hover {
  background-color: rgba(12, 85, 142, 0.45) !important;
}

.el-breadcrumb__inner a, .el-breadcrumb__inner.is-link{
  color: #fff;
}
.el-breadcrumb__inner, .el-breadcrumb__inner a{

}
.el-tabs__item{
  color: #f7f7f7;
}
.dataPage-box{
  .el-tabs__content,.el-tab-pane{
    height: 100%;
  }
}
.el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div {
  background-color: rgba(255,255,255,.8);
  color: #666;
}
.el-input__inner, .el-input.is-disabled .el-input__inner,.el-range-editor.el-input__inner {
  background: rgba(18, 56, 114, 0.5);
  border: none;
  height: 2.2rem;
  line-height: 2.2rem;
  color: rgba(255, 255, 255, .7);
  padding: 0 .5rem;
  font-size: .85rem;
  &:focus {
    box-shadow: 0 0 1.2rem rgba(0, 0, 0, .2);
  }
}
.el-date-editor .el-range-input{
  color: #999;
  font-size: .95rem;
}

.el-date-editor .el-range-separator{
  color: #aaa;
  line-height: 2.69rem;
}
.el-date-table th{
  color: #f1f1f1;
}
input{
  background-color: transparent;
}
.el-picker-panel__icon-btn{
  color: #f1f1f1;
}
.el-picker-panel{
  color: #999;
}
.el-button{
  line-height: 2.2rem;
  padding: 0 1rem;
  border: none;
  color: rgba(255,255,255,.9);
  background-color: rgba(0,153,204,.4);
  &:hover{
    color: rgba(255,255,255,.9);
    background-color: rgba(0,153,204,.5);
  }
  &:focus,&:active{
    color: rgba(255,255,255,.9);
    background-color: rgba(0,153,204,.4);
    &:hover{
      color: rgba(255,255,255,.9);
      background-color: rgba(0,153,204,.5);
    }
  }
}
.el-pagination{
  color: #f1f1f1;

}
.el-pagination .btn-next, .el-pagination .btn-prev,.el-dialog, .el-pager li{
  background: rgba(0,153,204,.1);
  &:disabled{
    background: rgba(0,153,204,.1);
  }
}
.el-pager li.btn-quicknext, .el-pager li.btn-quickprev,.el-pagination .btn-next, .el-pagination .btn-prev{
  color: #f1f1f1;
}
/*.el-input__prefix{
  top: 60%;
  margin-top: -8px;
}
.el-input__prefix, .el-input__suffix{
  height: 14px;
  width: 14px;
  .el-input__icon{
    width: 14px;
    height: 14px;
  }
}
.el-icon-date:before{
  height: 100%;
  width: 100%;
  position: absolute;
  top: -14px;
  left: 0;
}*/
